package com.wzq.tools.constant;

/**
 * 公共异常描述枚举类
 *
 * @author weizq
 * @since 2021/2/23
 */
public enum CommonConstant {

    /**
     * 入参为空
     */
    PARAMETER_IS_EMPTY("parameter_is_empty", "参数为空");

    private String code;
    private String name;

    CommonConstant(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
